<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.apache.log4j.Logger" pageEncoding="UTF-8"%>
<%@ page import="com.hsmpay.mobile.action.base.MobileBaseAction" %>
<%@ page import="org.springframework.web.context.WebApplicationContext" %>
<%@ page import="org.springframework.web.context.support.WebApplicationContextUtils" %>
<%
	Exception exception = (Exception)request.getAttribute("exception");
	final Logger logger = Logger.getRootLogger();
	logger.error(exception.getMessage(),exception);
	WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(session.getServletContext());
	MobileBaseAction mobileBaseAction = (MobileBaseAction) context.getBean("mobileBaseAction");
	mobileBaseAction.setResponse(response);
	mobileBaseAction.sendAppErrorMsg("9992", "");
%>